﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;//引用

namespace ShoppingWeb.Domain.Entitys
{
    [Table("CarDetail")]
   public class CarDetail
    {
        [Key]
        public int CarDetId { get; set; }
        /// <summary>
        /// 商品ID
        /// </summary>
        public int PrId { get; set; }
        /// <summary>
        /// 购买数量
        /// </summary>
        public int BuyCount { get; set; }
        /// <summary>
        /// 小计
        /// </summary>
        public decimal SubTotal { get; set; }
        /// <summary>
        /// 购物车ID
        /// </summary>
        public int CaId { get; set; }
    }
}
